#!/bin/sh
set -e

# TODO: Make the max age configurable

( git local-branches; git remote-branches ) | while read branch; do
    git log -1 --since=3.weeks.ago -s $branch | ifne echo "$branch"
done
